home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
newsgroups
/
misc.20000217-20000824
/
000225_news@columbia.edu _Tue Apr 25 12:36:38 2000.msg
< prev
next >
Wrap
Internet Message Format
|
2000-08-23
|
2KB
Return-Path: <news@columbia.edu>
Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2])
by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id MAA16682
for <kermit.misc@cpunix.cc.columbia.edu>; Tue, 25 Apr 2000 12:36:38 -0400 (EDT)
Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id MAA24087
for <kermit.misc@watsun.cc.columbia.edu>; Tue, 25 Apr 2000 12:36:37 -0400 (EDT)
Received: (from news@localhost)
by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id MAA15383
for kermit.misc@watsun.cc.columbia.edu; Tue, 25 Apr 2000 12:30:21 -0400 (EDT)
X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
From: dat_thuc_nguyen@my-deja.com
Subject: A Primitive C-Kermit Script Debugger
Date: Tue, 25 Apr 2000 16:22:18 GMT
Organization: Deja.com - Before you buy.
Message-ID: <8e4gne$f2k$1@nnrp1.deja.com>
To: kermit.misc@columbia.edu
The following macro provides a very primitive kind of debugger for C-
Kermit script. Insert the macro 'debug' in the C-Kermit script wherever
you want to set a break point, it returns the prompt 'debug>' and you
regain the interactive control of C-Kermit until you issue 'q'.
def debug {
while 1 {
ask \%1 debug>
if eq \%1 q break
{\%1}
}
}
A more elaborate C-Kermit debugger is on the drawing board, where break
points can be set and removed, etc.
Dat
Sent via Deja.com http://www.deja.com/
Before you buy.